package org.road0329.tools.proto_parse_tool.chargingpile;

/**
 * 前置返回的结果基类
 */
public class MsgDcsResult extends MsgDcsBase {
    /*是否成功*/
    private boolean isSuccess;
    /*错误信息*/
    private String message;
    /*错误码*/
    private int errorCode;

    /*返回的数据*/
    private Object data;

    /*下行报文：下发原始报文*/
    private String sendMsg;
    /*上行报文：接收原始报文*/
    private String receiveMsg;

    /*是否是响应帧*/
    private boolean prm;

    public boolean isSuccess() {
        return isSuccess;
    }

    public void setSuccess(boolean success) {
        isSuccess = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getSendMsg() {
        return sendMsg;
    }

    public void setSendMsg(String sendMsg) {
        this.sendMsg = sendMsg;
    }

    public String getReceiveMsg() {
        return receiveMsg;
    }

    public void setReceiveMsg(String receiveMsg) {
        this.receiveMsg = receiveMsg;
    }

    public boolean isPrm() {
        return prm;
    }

    public void setPrm(boolean prm) {
        this.prm = prm;
    }
}
